package com.lecture.javamode.principle.ocp.after;

import com.lecture.javamode.principle.ocp.before.Notification;

/**
 * @author luyn
 * @version 1.0
 * @description
 * @date 2022/1/11 14:09
 */
public abstract class AlertHandler {
    protected AlertRule rule;
    protected Notification notification;
    public AlertHandler(AlertRule rule, Notification notification) {
        this.rule = rule;
        this.notification = notification;
    }

    public abstract void check(ApiStatInfo apiStatInfo);
}
